package com.appspot.didit.client.workitem;

import com.google.gwt.event.shared.GwtEvent;

public class TagsLoadedEvent extends GwtEvent<TagsLoadedHandler> {

    private static Type<TagsLoadedHandler> TYPE;

    public static Type<TagsLoadedHandler> getType() {
            return TYPE != null ? TYPE
                            : (TYPE = new Type<TagsLoadedHandler>());
    }

    public TagsLoadedEvent() {
    }

    @Override
    public final Type<TagsLoadedHandler> getAssociatedType() {
            return getType();
    }

    @Override
    protected void dispatch(TagsLoadedHandler handler) {
            handler.onTagsLoaded(this);
    }

}